package cn.v2tila.rsosa.student.service;

import cn.v2tila.rsosa.student.entity.UserEntity;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

/**
 * @author v2tila on 18:23 2019/2/22
 */
@Service
public interface UserService {
    UserEntity findByOpenid(String openid);

    UserEntity saveAndFlush(UserEntity userEntity);

    boolean existsByUniqueId(String uniqueId);

    UserEntity findByUniqueId(String uniqueId);

    void deleteUser(UserEntity userEntity);



}
